{% extends "base.html" %}

{% block extrastyle %}
<link rel="stylesheet" href="./js/sig/assets/jquery.signaturepad.css">
{% endblock %}

{% block extrahead %}
<script src="./js/sig/assets/jquery.min.js"></script>
<script src="./js/sig/src/jquery.signaturepad.min.js"></script>
<script src="./js/sig/assets/json2.min.js"></script>
{% endblock %}

{% block title %}Sign a Waiver{% endblock %}
{% block crumb %}&rsaquo; Sign waiver{% endblock %}

{% block content %}
  <h1>Signing Waiver {% name %}</h1>

  {% if message %}
    <p>{{message}}</p>
  {% endif %}

  <p>{% content %}</p>

  <p>
    <form action="" method="post">{% csrf_token %}
       {% for field in form %}
         <div class="fieldWrapper">
           {{ field.errors }}
           {{ field.label_tag }}: {{ field }}
        </div>
    {% endfor %}
          <input type="submit" value="Submit">
    </form>
  </p>
{% endblock %}